package cn.samler.diandi.api.service;

import cn.samler.diandi.api.entity.PostRequestComment;
import cn.samler.diandi.api.model.io.Response;
import cn.samler.diandi.api.model.io.request.post.Evaluate;
import cn.samler.diandi.api.model.io.request.post.RequestMark;
import cn.samler.diandi.api.model.io.request.post.request.PostRequestCommentList;
import cn.samler.diandi.api.model.io.request.post.request.PostRequestList;

public interface RequestService {
    Response detail(String id);
    Response list(PostRequestList form);
    Response commit(Integer pid);
    Response evaluate(Evaluate form);
    Response over(RequestMark form);
    Response comment(PostRequestComment form);
    Response listComment(PostRequestCommentList form);
    Response cancel(RequestMark form);
    Response process(RequestMark form, boolean isAllow);
}
